home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / dexter.swf / scripts / DefineButton2_505 / BUTTONCONDACTION on(keyPress Space).as
Encoding:
Text File  |  2003-10-24  |  369 b   |  20 lines

  1. on(keyPress "<Space>"){
  2.    if(eval("/:mn") != "1" and getProperty("menu", _currentframe) < "2")
  3.    {
  4.       tellTarget("menu")
  5.       {
  6.          gotoAndStop("show");
  7.          play();
  8.       }
  9.       set("/:mn","1");
  10.    }
  11.    else if(eval("/:mn") == "1")
  12.    {
  13.       tellTarget("menu")
  14.       {
  15.          gotoAndStop(1);
  16.       }
  17.       set("/:mn","0");
  18.    }
  19. }
  20.